import { createApp } from 'vue'
import App from './App.vue'

import ElementPlus from 'element-plus'
import { zhCn } from 'element-plus/es/locales.mjs'
import 'element-plus/dist/index.css'
import './styles/index.scss'

import { createPinia } from 'pinia'
import router from './router'
// 引入控制权限
import '@/permission'


const app = createApp(App)


app.use(createPinia())
app.use(router)
app.use(ElementPlus,{
    locale:zhCn
})

app.mount('#app')